package com.qy139.order.mapper;

import com.qy139.entity.RoomOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qy139.util.Result;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hyh
 * @since 2021-12-01
 */
public interface RoomOrderMapper extends BaseMapper<RoomOrder> {
    List<Map> getAllSeat(Integer id);
    List<Map> getAllRoom(Integer id);
    List<Map> getAllSea(Integer roomId);
    List<Map> selectOrder(Integer id,Integer storeId);
    Integer updateStatus(Integer seatId,Integer id);
    Integer updateStatu(Integer id);
    Integer updateStat(List<Integer> list,Integer id);
    List<Map> selectTime(RoomOrder roomOrder);
    Map getCard(Integer cardnum);
}
